package com.inspur.cmis.service.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.cmis.mapper.MgrCertificateMapper;
import com.inspur.cmis.mapper.MgrCheckMapper;
import com.inspur.cmis.pojo.MgrCheck;
import com.inspur.cmis.service.MgrCheckService;

@Service("mgrCheckService")
public class MgrCheckServiceImpl implements MgrCheckService{
	@Autowired
	private MgrCheckMapper mgrCheckMapper;
	
	public void checkAdd(MgrCheck mgrCheck) {
		mgrCheckMapper.checkAdd(mgrCheck);
		
	}

	@Override
	public List<MgrCheck> getCheckList(HashMap<String, Object> map) {
		// TODO Auto-generated method stub
		return mgrCheckMapper.getCheckList(map);
	}

	@Override
	public void deletecheck(int[] ids) {
		// TODO Auto-generated method stub
		mgrCheckMapper.deletecheck(ids);
	}

	@Override
	public List<MgrCheck> getcheckByKey(String keys) {
		// TODO Auto-generated method stub
		return mgrCheckMapper.getcheckByKey(keys);
	}

	@Override
	public void checkupdate(MgrCheck m) {
		// TODO Auto-generated method stub
		mgrCheckMapper.checkupdate(m);
	}

}
